Grauenwolf / TravellerTools

Tools for the Traveller RPG
MIT License
45 stars 16 forks source link

Feature request: API for character creator #87

Open jonepatr opened 3 years ago

jonepatr commented 3 years ago

Would be great to be able to post a request with the input parameters and receive a json reply with a character! Would also be nice if CORS was handled so that one can do it from javascript without XSS issues in the browser.

Grauenwolf commented 3 years ago

The RA project has a CORS example that's already been tested.

Cap the number of characters generated at something reasonable and send them as an array.

Add a Help page with a link to the Swagger page.

What are the rules for mixing Blazor and WebAPI? Probably just something in the startup order.