-2

I am trying to write an api that returns some text to a phone system that reads the text. print with php works but return of type string with asp webapi does not work. is there anithing like print of php for asp web api?

abc
  • 21
  • 5
  • 1
    Possible duplicate of [What is the ASP.Net equivalent to PHP's Echo?](https://stackoverflow.com/questions/2977675/what-is-the-asp-net-equivalent-to-phps-echo) – M. Eriksson May 27 '19 at 11:50
  • all of the answers are for older versions of asp.net. – abc May 28 '19 at 19:42

1 Answers1

1

you can use this command

Response.Write("some text");

vsam
  • 533
  • 3
  • 23