Differences between Postman HTTP Post Rest API and Logic App HTTP action?

%3CLINGO-SUB%20id%3D%22lingo-sub-2278157%22%20slang%3D%22en-US%22%3EDifferences%20between%20Postman%20HTTP%20Post%20Rest%20API%20and%20Logic%20App%20HTTP%20action%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2278157%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20tearing%20my%20hair%20out.....what%20little%20i%20have%20left.%26nbsp%3B%20I%20am%20migrating%20a%20simple%20postman%20api%20rest%20call%20to%20a%20stand%20alone%20logic%20app.%26nbsp%3B%20The%20post%20call%20only%20contains%20header%20parameters%20to%20make%20this%20action%20and%20it%20works%20perfectly%20within%20postman.%26nbsp%3B%20however%20when%20I%20move%20it%20to%20a%20logic%20app%20HTTP%20action%20and%20replicate%20the%20call%20it%20does%20something%20to%20the%20headers%20and%20it%20does%20not%20pass%20the%20info%20the%20same%20which%20will%20not%20create%20the%20record%20correctly.%20(it%20does%20process%20correctly%20but%20it%20changes%20the%20payload%20somehow%7D%26nbsp%3B%20The%20api%20call%20creates%20a%20linked%20website%20to%20the%20target%20record.%26nbsp%3B%20not%20sure%20what%20else%20is%20going%20on%20in%20the%20background%20but%20the%20same%20format%20is%20not%20being%20passed%20to%20my%20host%20application%20from%20azure.........anyone%20have%20any%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3Ethe%20postman%20http%20payload%20is%20below%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EPOST%20%2Ftarget%2Foslc%2Fos%2Fwodoclinks%2F10%2Fdoclinks%20HTTP%2F1.1%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3EHost%3A%20xxx.73.xxx.11%3A9080%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3Eapikey%3A%20xxxmykeyxxx%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3Ex-document-meta%3A%20URL%2FAttachments%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3Eslug%3A%201070%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3EContent-location%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%3C%2FA%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3Ex-document-description%3A%20me%20like%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20logic%20app%20runtime%20call%20comes%20out%20like%20this%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22uri%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3CA%20href%3D%22http%3A%2F%2Fxxx.73.xxx.11%3A9080%2Ftarget%2Foslc%2Fos%2Fwodoclinks%2F10%2Fdoclinks%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fxxx.73.xxx.11%3A9080%2Ftarget%2Foslc%2Fos%2Fwodoclinks%2F10%2Fdoclinks%3C%2FA%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22method%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22POST%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22headers%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Content-location%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%3C%2FA%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22apikey%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22xxxmykeyxx%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22slug%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%221070%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22x-document-description%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22me%20like%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22x-document-meta%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22URL%2FAttachments%22%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Visitor

I am tearing my hair out.....what little i have left.  I am migrating a simple postman api rest call to a stand alone logic app.  The post call only contains header parameters to make this action and it works perfectly within postman.  however when I move it to a logic app HTTP action and replicate the call it does something to the headers and it does not pass the info the same which will not create the record correctly. (it does process correctly but it changes the payload somehow}  The api call creates a linked website to the target record.  not sure what else is going on in the background but the same format is not being passed to my host application from azure.........anyone have any ideas?

 

the postman http payload is below

POST /target/oslc/os/wodoclinks/10/doclinks HTTP/1.1
Host: xxx.73.xxx.11:9080
apikey: xxxmykeyxxx
x-document-meta: URL/Attachments
slug: 1070
Content-location: https://techcommunity.microsoft.com
x-document-description: me like

 

The logic app runtime call comes out like this

{
    "method": "POST",
    "headers": {
        "Content-location": "https://techcommunity.microsoft.com",
        "apikey": "xxxmykeyxx",
        "slug": "1070",
        "x-document-description": "me like",
        "x-document-meta": "URL/Attachments"
    }
}

 

1 Reply
I would add an explicit host, content-type, and x-public-uri headers first. Most of the maximo APIs (I'm guessing since I see /oslc in your path) require content-type set to "application/json"
You should also try https.
If none of that works, try following the steps in https://www.ibm.com/support/pages/creating-and-using-rest-api-keys-secure-application-server-environ...
As a final step, contact IBM support