Place the html file or md file directly in the request body in binary form, and put other parameters in the query.Pricing: Create hosted webpage: 0.001 PTC/time, Generate webpage cover image (optional service) 0.001 PTC/time
Request
Query Params
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.302.ai/302/webserve/html?format&add_watermarks&add_cover&update_subdomain&auto_deleted_days' \
--header'Authorization: Bearer '