Last active
November 15, 2023 00:34
-
-
Save Tanver-Hasan/d6a5a8c798e71f8a06f080c71785dd70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL='https://tanver-custom.eu.auth0.com/api/v2/prompts/signup/partials' | |
TOKEN='Management API Token' | |
curl -X PUT \ | |
-H 'Content-Type: application/json' \ | |
-H "Authorization: Bearer $TOKEN" \ | |
-d '{"signup": {"form-content-start":"<div class=\"ulp-field\">\n <label for=\"first-name\">First Name</label>\n <input type=\"text\" name=\"ulp-first-name\" id=\"first-name\">\n</div> \n <div class=\"ulp-field\">\n <label for=\"last-name\">Last Name</label>\n <input type=\"text\" name=\"ulp-last-name\" id=\"last-name\">\n </div>","form-content-end":"<div class=\"ulp-field\"> \n<label for=\"confirm-password\">Confirm Password</label> \n <input type=\"text\" name=\"ulp-confirm-password\" id=\"confirm-password\"> \n<div class=\"ulp-error-info\"> \n Confirm Password is required</div> \n</div> \n <div class=\"ulp-field\"> \n <input type=\"checkbox\" name=\"ulp-terms-of-service\" id=\"terms-of-service\">\n <label for=\"terms-of-service\">\n I want to receive marketting information <a href=\"#\">Terms of Service</a>\n</label>\n <div class=\"ulp-error-info\">\n I want to receive email marketting information.</div>\n</div>\n"}}' \ | |
"$URL" |
Author
Tanver-Hasan
commented
Nov 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment