We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd0820 commit 7c03f0dCopy full SHA for 7c03f0d
features/user/register_form.feature
@@ -31,7 +31,7 @@ Feature: Register process via a form
31
"""
32
{
33
"@context": "/contexts/User",
34
- "@type": "User",
+ "@type": "__api_me",
35
"username": "new_user",
36
"emailAddress": "user@example.com",
37
"_metadata": {
src/Resources/config/api_platform/form/resource.xml
@@ -23,7 +23,7 @@
23
<requirement property="id">[^/]+</requirement>
24
</requirements>
25
</operation>
26
- <operation class="ApiPlatform\Metadata\Put"
+ <operation class="ApiPlatform\Metadata\Post"
27
name="_api_/forms/{id}/submit{._format}"
28
method="POST"
29
uriTemplate="/forms/{id}/submit{._format}"
0 commit comments