- Home /
How to send curl via WWWForm
Hello, I'm trying to send an API curl request to GitLab to create an issue. It's written on their site that the request is like this:
POST /projects/:id/issues
And an example is like this:
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/4/issues?title=Issues%20with%20auth&labels=bug
I have no experience dealing with curl calls, but the project I'm trying to create an issue within has a link like this (with few changes): https://gitlab.mycompany.io/Unity_Programming/user-feedback-development-instance I know how to use WWW and WWWForm with headers, but I can't figure out how to convert this curl call to WWW
Your answer

Follow this Question
Related Questions
Using WWW/WWWForum to download from a file hoster 2 Answers
Including POST request data for RESTfull server 4 Answers
Coroutine for WWW call not resuming 0 Answers
Retrieving varibale values from a php script? 1 Answer
Log in on a website and get data 0 Answers