Skip to main content
Solved

Response is empty when upload file


LevFredrB
Sidekick (Partner)
Forum|alt.badge.img+4

Hi!

I have been able to get my integration partner to upload pictures to the media library in IFS using a Rest Patch call, but the response when doing a successful upload is empty.

Is there anyway I can override this response and write an own Json response, saying “everything went ok”?

This is on IFSAPP 10.

 

Best answer by Rifki Razick

Hi @LevFredrB 

Typically in a REST API “everything went ok” is denoted by the HTTP response code 200 OK, hence additional success messages in the response body is not required.

/Rifki

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+14
  • Superhero (Employee)
  • 169 replies
  • June 10, 2023

@LevFredrB 

This article might give you some hints :). (It’s for cloud btw)

 


Rifki Razick
Hero (Employee)
Forum|alt.badge.img+9
  • Hero (Employee)
  • 72 replies
  • Answer
  • June 11, 2023

Hi @LevFredrB 

Typically in a REST API “everything went ok” is denoted by the HTTP response code 200 OK, hence additional success messages in the response body is not required.

/Rifki


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings