You are viewing limited content. For full access, please sign in.

Question

Question

HTTP Web Request Returns 404 Not Found

asked on April 18, 2014

I am working with the HTTP Web Request activity in Workflow. I can take the URL that I am using in Workflow and paste it into a browser and am given a prompt to login and then it gives me the XML results as I would expect. If I put the same information into the HTT Web Request activity I receive a "Request failed with status code 404 : Not Found." Below are my settings.

Do I have something set incorrectly?

0 0

Answer

SELECTED ANSWER
replied on April 18, 2014

I made this mistake too, that last letter in URI is a capital i, not an L. Put the URL in the host field under your configured web server. The only data that belongs in the URI is the parameters starting with ?

 

For example a web URL in a browser 

 

something.com/something.aspx?param1=hello&param2=world

 

Would be entered in Workflow like this

 

Host: something.com/something.aspx

URI: ?param1=hello&param2=world

0 0
replied on April 18, 2014

Thank you! That worked perfectly.

0 0

Replies

replied on April 18, 2014

This is also documented in the Workflow Help File.

1 0
replied on April 18, 2014

Is there any way to insert a token into the URL? I see you can do it for the URI.

0 0
replied on April 18, 2014

I don't think so but you could use a conditional statement to call different Web requests based on a token's value.

0 0
replied on April 18, 2014 Show version history

Never mind, got it figured out.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.