TravellerTools icon indicating copy to clipboard operation
TravellerTools copied to clipboard

Feature request: API for character creator

Open jonepatr opened this issue 3 years ago • 1 comments

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.

jonepatr avatar Mar 11 '21 16:03 jonepatr

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.

Grauenwolf avatar Mar 11 '21 17:03 Grauenwolf