Solved

Response is empty when upload file

  • 8 June 2023
  • 2 replies
  • 63 views

Userlevel 1
Badge +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.

 

icon

Best answer by Rifki Razick 11 June 2023, 18:59

View original

2 replies

Userlevel 6
Badge +12

@LevFredrB 

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

 

Userlevel 4
Badge +9

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