HTTP request and curl - basic question

What am I doing wrong?

Here's my HTTP In node:

If I enter this into command line:

It works nicely.

But if I enter this:
curl.exe -d "message=hello there"

I get this returned on command line:

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<pre>Cannot POST /red/UPS</pre>

If I’ve read about curl and html get/put correctly, the first case is a GET and the second is a PUT so I would expect that /red/UPS deals with GETs and not PUTs

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.