Create record with x-csrf-token

How to create record with x-csrf-token in header