Skip to content

Commit 7cfdcc9

Browse files
authored
Added support for JSON content type
Added support for JSON content type to be able to submit JSON_LISTINGS_FEED feed type
1 parent ce71bd2 commit 7cfdcc9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/FikaAmazonAPI/Services/FeedService.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ public async Task<string> SubmitFeedAsync(string XmlContentOrFilePath, FeedType
182182
{
183183
_ = await PostFileDataAsync(feedCreate.Url, XmlContentOrFilePath, contentType);
184184
}
185+
else if (contentType == ContentType.JSON)
186+
{
187+
_ = await PostFileDataAsync(feedCreate.Url, XmlContentOrFilePath, contentType);
188+
}
185189
else if (contentType == ContentType.TXT)
186190
{
187191
_ = await PostFileDataAsync(feedCreate.Url, XmlContentOrFilePath, contentType);

0 commit comments

Comments
 (0)