ISH-337
Created by pancakes
2 years ago
May 21 2024, 10:08 GMT+2
Updated by Laura Hausmann
2 years ago
Jun 29 2024, 01:27 GMT+2
Add example curl command to Post-install guide

The post-install guide tells users to send a POST request to the server before setting up a reverse proxy to create a user. However the page doesn't mention setting the headers that .NET expects. It could be helpful to provide an example command like:

curl -X 'POST' \
  'http://localhost:3000/api/iceshrimp/auth/register' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Host: <webdomain>' \
  -d '{
  "username": "",
  "password": ""
  }'
Project
Iceshrimp.NET
Priority
Normal
N
Type
Task
T
State
Completed
C
Assignee
Laura Hausmann
Avatar
Subsystem
Documentation
D
Component
No component
Target version
v2024.1-beta1
V
Released in version
v2024.1-beta1
V