Enhancing the PHP code templates
@ahmadnassri is already working on this.
Since Oct 28, 2015.
Assessment
This issue has not been assessed yet.
Description
Hello,
very nice tool!
My suggestion:
In case of
...
"postData": {
"mimeType": "application/x-www-form-urlencoded",
"params" : [
{
"name": "params[IDENTIFIER]",
"value": "DUMMY_ACCOUNT"
},
{
"name": "params[OPERATIONTYPE]",
"value": "create"
},
}
...
it would be nice that in the php code to have something like
...
CURLOPT_POSTFIELDS => http_build_query([
'params[IDENTIFIER]' => 'DUMMY_ACCOUNT',
'params[OPERATIONTYPE]' => 'create',
])
...
instead of
...
CURLOPT_POSTFIELDS => "params%5BIDENTIFIER%5D=DUMMY_ACCOUNT¶ms%5BOPERATIONTYPE%5D=create"
...
- Dominant language
- Pug
- Stars
- 411
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Kong/apiembed
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
change code sampleOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100