cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Get HTTP error code

sloison
3-Newcomer

Get HTTP error code

Hi,

Is there way to get HTTP return code after calling an external API with for instance Resources["ContentLoaderFunctions"].GetJSON(params) ?

Regards

Stéphane

2 REPLIES 2
CRArko
17-Peridot
(To:sloison)

Hello, Stephane.

Are you talking about using the RESTful API in the manner described in this article? I don't see any place where that directly returns the HTTP error code.

Let me know if this is like your use case, or if you mean something different.

-- Craig A.

sloison
3-Newcomer
(To:CRArko)

Hi Craig,

It is exactly the point.

The call return a 4XX http error code and I do see any way to get it.

Regards

Stéphane

Announcements


Top Tags